﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Rainbow.model
{
    public class TreeNode : ViewModelBase
    {
        private string m_Name;
        public string Name
        {
            get { return m_Name; }
            set
            {
                m_Name = value;
                NotifyPropertyChanged();
            }
        }

        private ObservableCollection<TreeNode> m_Children;
        public ObservableCollection<TreeNode> Children
        {
            get { return this.m_Children; }
            set
            {
                m_Children = value;
                NotifyPropertyChanged();
            }
        }
    }
}
